package com.ohyes.bigbang.syscfg.menu.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.ohyes.bigbang.syscfg.menu.po.Menu;

public interface IMenuService {

	public abstract List<Menu> getMenuTree(int id);

	public abstract Menu getMenu(int id);

	@Transactional
	public abstract void add(Menu menu);

	@Transactional
	public abstract void update(Menu menu);

	@Transactional
	public abstract void delete(int id);

}